<div class="lesson-comment-item">
  <div class="comment-item-box" *ngIf="lesson" (click)="clickLesson()">
    <div
      class="comment-item seed-underline seed-flexbox seed-flexbox-align-center seed-flexbox-content-between"
      [class.right-arrow-icon]="rightArrow">
      <div class="left">
        <div class="lesson-name-box seed-flexbox seed-flexbox-align-center ">
          <p
            class="lesson-name"
            [class.short]="lesson.state!==undefined">
            <span *ngIf="lesson.properties!==2">课时{{lesson.serialNo}}： </span>
            {{lesson.topicName?lesson.topicName:lesson.subjectName}}
          </p>
          <i *ngIf="lesson.state===0||lesson.state===2||lesson.state===3" class="notPinClass">未销课</i>
          <i *ngIf="lesson.state===1" class="hasPinClass">已销课</i>
          <i *ngIf="lesson.state===3" class="leave">请假</i>
          <i *ngIf="lesson.lessonStatus===1" class="notPinClass">补课</i>
        </div>
        <div class="lesson-time">
          {{lesson.beginDate|date:'yyyy-MM-dd'}}
          {{lesson.startTime|date:'HH:mm'}}-{{lesson.endTime|date:'HH:mm'}}
        </div>
      </div>
      <div *ngIf="!lesson.teacherName" [class.right]="lesson.commentState===1&&lesson.readStatus===0">
        <!--{{lesson.commentState===1?'已点评':'未点评'}}-->
      </div>
      <div *ngIf="lesson.teacherName">{{lesson.teacherName}}</div>
    </div>
  </div>
</div>
